<html><?php
	echo "<form method=\"post\" action=\"index.php?page=".$_GET['page']."&initiale=".$_GET['initiale']."\">";?>
		<a href="index.php?page=nouveauFilm"><input type="button" value="Ajouter"></a>
		<input type="submit" value="Modifier" name="submit">
		<input type="submit" value="Supprimer" name="submit">
		<br/>
		<a href="index.php?page=gestionFilms&initiale=0..9">0..9</a>
		<?php
		for ($i=ord("A");$i<ord("Z")+1;$i++) {
			echo "<a href=\"index.php?page=gestionFilms&initiale=".chr($i)."\">".chr($i)."</a>";
		}
		echo "<br/>";
		echo "<table border=1>";
			foreach($listeFilms as $value){
				echo "<tr>";
					echo "<td><INPUT type=checkbox value=".$value['idfilm']." name=idFilm[]></td>";
					echo "<td>".$value['idfilm']."</td>";
					echo "<td>".$value['titre']."</td>";
				echo "</tr>";
			}
		echo "</table>";
		?>
	</form>
</html>

